package jgl.vajra.operator.part.mine.contract;

import java.util.Map;

import io.reactivex.Observable;
import jgl.vajra.operator.bean.MyTeamPeopleNumBean;
import jgl.vajra.operator.databinding.ActivityMyTeamBinding;
import jgl.vajra.operator.widget.mvvm.model.BaseModel;
import jgl.vajra.operator.widget.mvvm.view.BaseMVVMView;
import jgl.vajra.operator.widget.mvvm.viewmodel.BaseViewModel;

public class MyTeamContract {
    public abstract static class Model extends BaseModel {

        public abstract Observable<MyTeamPeopleNumBean> getMyTeamPeopleNum(Map<String, Object> map);
    }

    public interface View extends BaseMVVMView {

        void returnMyTeamPeopleNumData(MyTeamPeopleNumBean data);
    }

    public abstract static class ViewModel extends BaseViewModel<View, ActivityMyTeamBinding, Model> {

        public abstract void getMyTeamPeopleNum(Map<String, Object> map);
    }
}
